Facter.add(:afs_key_exists) do
    setcode do
        if FileTest.exists?("/etc/openafs/server/KeyFile")
                        afs_key_exists = "true"
                else
                        afs_key_exists = "false"
                end
    end
end
